--- ../../plenoctree/README.md	2024-02-13 12:39:49.531388387 -0500
+++ ../google/plenoctree/README.md	2024-02-13 10:46:24.344645280 -0500
@@ -24,6 +24,7 @@
 
 Please use conda for a replicable environment.
 ```
+# Do this from this modified enviroment.yml, not a newly cloned one. Also, this worked with a late of miniconda (23.3.1).
 conda env create -f environment.yml
 conda activate plenoctree
 pip install --upgrade pip
@@ -31,14 +32,48 @@
 
 Or you can install the dependencies manually by:
 ```
-conda install pytorch torchvision cudatoolkit=11.0 -c pytorch
-conda install tqdm
+conda install pytorch torchvision cudatoolkit-dev=11.0 -c pytorch
+# Our modification: also install nvcc from the dev channel
+# important if the install is different
+#conda install -c conda-forge cudatoolkit-dev=11.0
+# also may need to link an old version of gcc or install withn conda:
+#conda install -c conda-forge gcc=8.5.0
+# link gcc to cuda folder
+#sudo ln -s /usr/bin/gcc-7 /usr/local/cuda/bin/gcc
+#sudo ln -s /usr/bin/g++-7 /usr/local/cuda/bin/g++
+#https://stackoverflow.com/questions/60503514/how-can-i-make-conda-find-cc1plus
+conda install pybind11 -c conda-forge
+
+pip install --upgrade jax==0.2.8 jaxlib==0.1.57+cuda110 -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
+pip install --upgrade numpy==1.19.5 scipy==1.6.0 tqdm
+#pip install torch==1.7.1
 pip install -r requirements.txt
+conda install -c anaconda cmake
+```
+
+Also, install svox2 manually to have CUDA support:
 ```
+# https://github.com/sxyu/svox2/issues/49
+# do it for svox not svox2 https://github.com/sxyu/svox
+cd svox2
+# add prefix to torch
+cmake csrc -DCMAKE_PREFIX_PATH=$HOME/anaconda3/envs/plenoxels/lib/python3.8/site-packages/torch
+make -j 1
+pip uninstall svox2
+# try without the make if the make fails
+pip install .
 
-[Optional] Install GPU and TPU support for Jax. This is useful for NeRF-SH training.
+WARNING: If installing both, you will need to rename some data_specs, as names will collide when importing both:
+see the shared variables ./svox/csrc/include/data_spec.hpp (RenderOptions, RaySpec2, CameraSpec).
+you can rename them with: 
+grep -rl 'RenderOptions' . | xargs sed -i 's/RenderOptions/RenderOptionsSvox1/g'
+```
+
+[Optional (not necessary for us)] Install GPU and TPU support for Jax. This is useful for NeRF-SH training.
 Remember to **change cuda110 to your CUDA version**, e.g. cuda102 for CUDA 10.2.
 ```
+pip install --upgrade jax==0.2.8 jaxlib==0.1.57+cuda110 -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
+
 pip install --upgrade jax jaxlib==0.1.65+cuda110 -f https://storage.googleapis.com/jax-releases/jax_releases.html
 ```
 
